<template>
    <div class="backTop" @click="backtop">

    </div>
</template>
<script>
export default {
    setup(props,{emit}) {
        return{
            backtop:()=>{
                emit('bTop')
            }
        }
    },
}
</script>
<style lang="less" scoped>
.backTop{
    width: 40px;
    height: 40px;
    position: fixed;
    right: 4px;
    bottom: 84px;
    background:#FCFCFC url('~assets/images/top.png') no-repeat center center;
}
</style>